/*
	File:		Claw.h
	Author:		Ben Feldmann
	Purpose:	Class for managing the claw weapon
*/

#pragma once

#include "MeleeWeapon.h"
#include "Player.h"
#include "Enemy.h"


//class IEntity;
//class Player;


class Claw : public MeleeWeapon 
{
private:
	//bool attacking;
	bool spcAttacking;
	bool spcAttacked;
	bool returning;

	float atkTimer;
	float spcAtkTimer;

	float rotation;

	// Special Attack Variables
	bool grabbed;
	Enemy* enemy;

	// Sounds
	int clawAttack;

public:
	Claw(Player* owner);

	~Claw();

	bool CheckCollision(IEntity* base);

	void Attack();

	void SpecialAttack();

	virtual void Update(float elapsed);

	virtual void Render();

	virtual RECT GetRect();
};
